<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/html">
<head>
    <meta charset="UTF-8">
    <title>欢迎注册!</title>
</head>
<body
      style="background-attachment:fixed;background-size:100% 100%;">
<h1 >欢迎来到注册页面</h1 >
  <form th:action="@{/doRegist}" method="post">
        <label style="color:red" th:text="${registMsg}">注册提示</label><br>
        用户名字:<input type="text" name="userName"><br>
        用户密码:<input type="text" name="userPass"><br>
        <input type="submit" value="添加">
    </form>
<a th:href="@{/common/logout}">返回登录页</a>
</body>
</html>